

Project 'VGG16_1FC.Exp06.BonB.10p.unmasked.fold_3':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 113 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
9        0               Asteromphalus.labId_6835     9           0           9
1        1                 Chaetoceros.labId_6813    21           0          21
2        2 Fragilariopsis kerguelensis.labId_8356    14           0          14
7        3     Fragilariopsis rhombica.labId_8362    13           0          13
10       4                   Nitzschia.labId_6758     2           0           2
5        5             Pseudonitzschia.labId_8364    21           0          21
8        6                Rhizosolenia.labId_6776     4           0           4
4        7           Silicoflagellate.labId_10255     9           0           9
3        8     Thalassiosira gracilis.labId_10366     7           0           7
6        9  Thalassiosira lentiginosa.labId_10369    13           0          13
11      NA                                    Sum   113           0         113

Validation: 35 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
10       0               Asteromphalus.labId_6835     3           0           3
3        1                 Chaetoceros.labId_6813     6           0           6
8        2 Fragilariopsis kerguelensis.labId_8356     4           0           4
5        3     Fragilariopsis rhombica.labId_8362     4           0           4
7        4                   Nitzschia.labId_6758     1           0           1
1        5             Pseudonitzschia.labId_8364     6           0           6
6        6                Rhizosolenia.labId_6776     2           0           2
9        7           Silicoflagellate.labId_10255     3           0           3
2        8     Thalassiosira gracilis.labId_10366     2           0           2
4        9  Thalassiosira lentiginosa.labId_10369     4           0           4
11      NA                                    Sum    35           0          35

Test: 45 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
8        0               Asteromphalus.labId_6835     4           0           4
4        1                 Chaetoceros.labId_6813     8           0           8
1        2 Fragilariopsis kerguelensis.labId_8356     6           0           6
9        3     Fragilariopsis rhombica.labId_8362     5           0           5
10       4                   Nitzschia.labId_6758     1           0           1
7        5             Pseudonitzschia.labId_8364     8           0           8
6        6                Rhizosolenia.labId_6776     1           0           1
3        7           Silicoflagellate.labId_10255     4           0           4
5        8     Thalassiosira gracilis.labId_10366     3           0           3
2        9  Thalassiosira lentiginosa.labId_10369     5           0           5
11      NA                                    Sum    45           0          45

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 8


Evaluating trained model for project 'VGG16_1FC.Exp06.BonB.10p.unmasked.fold_3':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction 0 1 2 3 4 5 6 7 8 9
         0 4 0 0 0 0 0 0 0 0 0
         1 0 8 0 0 1 0 0 0 0 0
         2 0 0 6 0 0 0 0 0 0 0
         3 0 0 0 5 0 0 0 0 0 0
         4 0 0 0 0 0 0 0 0 0 0
         5 0 0 0 0 0 8 0 0 0 0
         6 0 0 0 0 0 0 1 0 0 0
         7 0 0 0 0 0 0 0 4 0 0
         8 0 0 0 0 0 0 0 0 3 0
         9 0 0 0 0 0 0 0 0 0 5

Overall Statistics
                                          
               Accuracy : 0.9778          
                 95% CI : (0.8823, 0.9994)
    No Information Rate : 0.1778          
    P-Value [Acc > NIR] : < 2.2e-16       
                                          
                  Kappa : 0.9744          
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             1.00000   0.8889   1.0000   1.0000       NA   1.0000  1.00000  1.00000  1.00000   1.0000
Recall                1.00000   1.0000   1.0000   1.0000  0.00000   1.0000  1.00000  1.00000  1.00000   1.0000
F1                    1.00000   0.9412   1.0000   1.0000       NA   1.0000  1.00000  1.00000  1.00000   1.0000
Prevalence            0.08889   0.1778   0.1333   0.1111  0.02222   0.1778  0.02222  0.08889  0.06667   0.1111
Detection Rate        0.08889   0.1778   0.1333   0.1111  0.00000   0.1778  0.02222  0.08889  0.06667   0.1111
Detection Prevalence  0.08889   0.2000   0.1333   0.1111  0.00000   0.1778  0.02222  0.08889  0.06667   0.1111
Balanced Accuracy     1.00000   0.9865   1.0000   1.0000  0.50000   1.0000  1.00000  1.00000  1.00000   1.0000

$statistics
   class                              className TP FP FN precision recall        F1
1      0               Asteromphalus.labId_6835  4  0  0 1.0000000      1 1.0000000
2      1                 Chaetoceros.labId_6813  8  1  0 0.8888889      1 0.9411765
3      2 Fragilariopsis kerguelensis.labId_8356  6  0  0 1.0000000      1 1.0000000
4      3     Fragilariopsis rhombica.labId_8362  5  0  0 1.0000000      1 1.0000000
5      4                   Nitzschia.labId_6758  0  0  1 0.0000000      0 0.0000000
6      5             Pseudonitzschia.labId_8364  8  0  0 1.0000000      1 1.0000000
7      6                Rhizosolenia.labId_6776  1  0  0 1.0000000      1 1.0000000
8      7           Silicoflagellate.labId_10255  4  0  0 1.0000000      1 1.0000000
9      8     Thalassiosira gracilis.labId_10366  3  0  0 1.0000000      1 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369  5  0  0 1.0000000      1 1.0000000

$macro
$macro$precision
[1] 0.8888889

$macro$recall
[1] 0.9

$macro$F1
[1] 0.8941176

$macro$F1.Sokolova_Lapalme
[1] 0.8944099


$micro
$micro$precision
[1] 0.9777778

$micro$recall
[1] 0.9777778

$micro$F1
[1] 0.9777778


